package com.yys.gulimall.order.feign;

import com.yys.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author zq
 * @version 1.0
 * @date 2021/4/4 15:59
 */

@FeignClient("gulimall-product")
@Service
public interface ProductFeignService {
    @PostMapping("/product/spuinfo/skuId/{id}")
    R getSpuInfoBySkuId(@PathVariable("id") Long skuId);

}
